func net/http.serveError
11 uses
net/http (current package)
fs.go#L183: func serveError(w ResponseWriter, text string, code int) {
fs.go#L291: serveError(w, "seeker can't seek", StatusInternalServerError)
fs.go#L302: serveError(w, err.Error(), StatusInternalServerError)
fs.go#L307: serveError(w, "negative content size computed", StatusInternalServerError)
fs.go#L329: serveError(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L355: serveError(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L688: serveError(w, msg, code)
fs.go#L696: serveError(w, msg, code)
fs.go#L714: serveError(w, msg, StatusInternalServerError)
fs.go#L813: serveError(w, "invalid URL path", StatusBadRequest)
fs.go#L847: serveError(w, "invalid URL path", StatusBadRequest)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |